class UserInfo(models.Model):
    """
    用户信息
    """
    username = models.CharField(max_length=50, null=True)
    password = models.CharField(max_length=200, null=True)  # 方便后面存储密码密文

    remarks = models.TextField(null=True, blank=True, verbose_name='备注信息')  # 描述帐号用途,或者使用者是谁等等

    def __str__(self):
        return self.username

    class Meta:
        db_table = 'tb_UserInfo'
        verbose_name = '用户信息'
        verbose_name_plural = verbose_name